package com.starhub.api.docwriting.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**   
 * 写作记录管理实体层
 * @version: V1.0
 * @author: liuhf
 * @time 2025-05-18
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("writing_record")
public class WritingRecord {
    
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    
    private Long userId;
    
    private LocalDateTime createTime;
    
    private Long chatSessionId;

    private String sessionId;

    private String title;
    
    private String content;
    
    private String writingType;
    
    private String keywords;
    
    private String remark;
    
    @TableLogic
    private Integer deleteType;
} 